@import '../../vendor/animate.css/animate';
@import '../../vendor/dragular/dist/dragular';
@import '../../vendor/artifact-modal/dist/assets/tuleap-artifact-modal';
@import '../../vendor/angular-bootstrap-datetimepicker/src/css/datetimepicker';
@import '../../vendor/angular-ui-select/dist/select';
@import '../../vendor/ng-scrollbar/dist/ng-scrollbar';
@import '../../../../../../../src/www/themes/common/css/utils/colors';
@import 'backlog-item/backlog-item';
@import 'backlog/backlog';
@import 'milestone/milestone';
@import 'backlog-item-selected/backlog-item-selected-bar';

#planning-app {
    .loading {
        background: url('loader.gif') no-repeat center center;
        min-height: 26px;
        margin: 20px 0 10px;
    }

    .fully-loaded {
        padding: 30px 0 0;
        text-align: center;
        font-size: 0.9em;
        color: #CCCCCC;
    }

    #backlog .highlight {
        color: #000000;
        background: rgb(250, 250, 36);
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
        padding: 3px 1px;
        margin: 0px;
        border-radius: 2px;
    }

    #planning-view {
        display: table;
        width: 100%;

        > #backlog, > #planned {
            display: table-cell;
            vertical-align: top;
            width: 48%;

            .planning-header {
                margin: 0 0 20px;

                h2 {
                    float: left;
                    display: inline-block;
                    margin: 0 10px 0 0;
                }

                button, input, .dropdown {
                    float: left;
                    position: relative;
                    top: 7px;
                    margin: 0 0 10px;
                }

                .input-search, .view-switcher, .items-toggle-button {
                    float: right;
                }

                .input-search {
                    position: relative;
                    margin: 0 10px 0 0;

                    &:before {
                        position: absolute;
                        top: 10px;
                        left: 9px;
                        font-family: FontAwesome;
                        content: '\f002';
                        opacity: .5;
                        font-size: 12px;
                        z-index: 1;
                    }

                    > input {
                        height: 26px;
                        padding-left: 26px;
                        -webkit-appearance: none;
                        box-sizing: border-box;
                        width: 100px;

                        @media screen and (min-width: 1366px) {
                            width: 130px;
                        }
                    }
                }

                .view-switcher {
                    span {
                        display: none;
                    }

                    @media screen and (min-width: 1920px) {
                        span {
                            display: inline;
                        }
                    }
                }
            }

            div.alert.alert-warning {
                text-align: center;
            }
        }

        > #divider {
            display: table-cell;
            width: 4%;
            min-width: 80px;
            height: 140px;
            background: url('planning-divider.png') no-repeat center 70px;
        }
    }
}

body.sidebar-collapsed #planning-app #backlog-items-selected-bar {
    padding-left: 45px;
}
